<%@ page language="java" contentType="text/html; charset=ISO-8859-1" %>
<%@page import="java.sql.*, java.sql.Driver" %>
<%@ include file="../../Connections/aranciaDB0.jsp" %>
<%

	Class.forName(MM_aranciaDB0_DRIVER).newInstance();
	Connection conn = DriverManager.getConnection(MM_aranciaDB0_STRING,MM_aranciaDB0_USERNAME,MM_aranciaDB0_PASSWORD);
	
	String str_conciliacion = request.getParameter("id_concil");
	String str_autorizador  = request.getParameter("txt_autorizador");
	String str_relizador    = request.getParameter("txt_realizador");
	
	try{
		String str_query = 
			" UPDATE ARB2_CONCILIACIONES                       " + 
			" SET USUARIOAUTORIZA  = '"+str_autorizador+"',    " +
			"     USUARIORAELIZO   = '"+str_relizador+"'       " + 
			" WHERE CONCILIACIONID = '" + str_conciliacion + "' ";
		Statement stmt = conn.createStatement();
		int int_update = stmt.executeUpdate(str_query);

		out.println(int_update);
	}catch(Exception e){
		out.print(e.getMessage());
		throw e;
	}finally{
		conn.close();
	}
	
%>